package com.yonyou.cyxdms.basedata.service.repository.salestaskset;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yonyou.cyx.framework.dao.base.SuperMapper;
import com.yonyou.cyxdms.basedata.service.entity.salestaskset.SalesTaskSetPO;
import com.yonyou.cyxdms.basedata.client.domains.vo.SalesTaskSetVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * <P>
 *  销售任务设定 Mapper 接口
 * </p>
 *
 * @author chenzb
 * @since 2019-11-19
 */
public interface SalesTaskSetMapper extends SuperMapper<SalesTaskSetPO> {


    /**
     * 获取销售经理下
     *      所有销售顾问的考核目标
     * @param page
     * @param query
     * @author：chenzb
     * @since：2019-11-20
     */
    List<SalesTaskSetVO> getSalesTaskDetailList(Page<SalesTaskSetVO> page,@Param("params") Map<String, Object> query);
}
